﻿using System.ComponentModel;
using System.IO;
using System.Windows;

namespace WpfMvvmTemplatePrismHC.Common
{
    public class GlobalStaticData
    {
        //是否是设计时
        public static readonly bool IsDesignTime = DesignerProperties.GetIsInDesignMode(new DependencyObject());

        //配置文件AppSettings.json文件路径
        public static string AppSettingsFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "AppSettings.json");

        //硬件模式
        public static int HardwareMode;

        //语言编号：0-中文；1-英文
        public static int LanguageNum { get; set; } = 0;

        // 中英文对应的值字典
        public static Dictionary<string, string> LanguageDic { get; set; } = [];



    }
}